package lab02.text15;

public class zhangsan {
    public static void main(String[] args) {
        Graduate zhangsan=new Graduate();
        zhangsan.pay=2500;
        zhangsan.fee=10000;
        zhangsan.getPay();
        zhangsan.getFee();

        if(zhangsan.getPay()-zhangsan.getFee()<2000){
            System.out.println("you need a loan!");
        }
        else{
            System.out.println("you income is enough!");
        }
    }

}
